package demo508;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
public class Input {
  public static void main(String[] arge) throws IOException{
      FileInputStream fileInputStream =new FileInputStream("1.txt");
      byte [] buffer = new byte[1824];
      int bytesRead;
      while ( (bytesRead =fileInputStream.read(buffer))!=-1){
          String content = new String(buffer,0,bytesRead);
          System.out.println(content);
      }
  }
}
